<?php
/**
 * SocialEngine
 *
 * @category   Application_Extensions
 * @package    Page
 * @copyright  Copyright Hire-Experts LLC
 * @license    http://www.hire-experts.com
 * @version    $Id: index.tpl 2010-08-31 17:53 idris $
 * @author     Idris
 */
?>

<div class="page_admin_list">
	<?php foreach ($this->admins as $admin): ?>
		<div class="item">
			<?php echo $this->htmlLink($admin->getHref(), $this->itemPhoto($admin, 'thumb.icon', '', array('class' => 'thumb_icon item_photo_user')), array('class' => 'admin_profile_thumb')); ?>
			<div class="r">
				<?php echo $this->htmlLink($admin->getHref(), $admin->getTitle(), array('class' => 'admin_profile_title')); ?><br />
	      <span><?php echo ($admin->title ? $admin->title : $this->translate('Admin')); ?></span><br />
	      <?php if ($this->viewer->getIdentity() != $admin->getIdentity() && $this->viewer->getIdentity()): ?>      
	       <?php echo $this->htmlLink($this->url(array('action' => 'compose', 'to' => $admin->getIdentity()), 'messages_general'), $this->translate("Send Message"), array('class' => 'buttonlink send_message')); ?>
	      <?php endif; ?>
    	</div>
    	<br class="clr" />
		</div>
	<?php endforeach; ?>
	<div class="clr"></div>
</div>